package edu.jd.login;

public class CurrentUser {

    private static User currentUser;

    private void CurrentUser(){}

    public static void setCurrentUser(User user){
        currentUser = user;
    }

    public static void removeCurrentUser(){
        currentUser = null;
    }

    public static User getCurrentUser(){
        return currentUser;
    }
}
